* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Helvetica Neue", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  /* background-color: #2f4050; */
  /* font-size: 13px; */
  line-height: 1.5;
  /* min-width: 1240px; */
  /* overflow-x: auto; */
}

img {
  vertical-align: middle;
}

a {
  text-decoration: none;
}
.mgtb-10{
  margin: 10px 0;
}
.mgt-05{
  margin-top: .5em;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
}
.mgl-5{
  margin-left: 5px;
}
.mgl-10{
  margin-left: 10px;
}
.mgr-10{
  margin-right: 10px;
}
.mgr-5{
  margin-right: 5px;
}
.mgt-5{
  margin-top: 5px;
}
.mgr-15{
  margin-right: 15px;
}
.mgr-20{
  margin-right: 30px;
}
.mgtb-1em{
  margin-top: 1em;
  margin-bottom: 1em;
}
.text-auto{
  display: inline-block;
  max-width: 100%;
  overflow: auto;
}
.align-c{
  display: flex;
  align-items: center;
}
.paas-c{
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-c{
  text-align: center;
}
.text-r{
  text-align: right;
}
/* .label {
  background-color: #d1dade;
  color: #5e5e5e;
  font-family: 'Microsoft YaHei','Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-shadow: none;
  display: inline;
  padding: 3px 4px;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
  margin: 0 2px;
} */

.label.label-warning {
  background-color: #f0ad4e;
  color: #fff;
}

.label.label-danger {
  background-color: #ed5565;
  color: #fff;
}

.label.label-success {
  background-color: #1c84c6;
  color: #FFFFFF;
}

.label.label-info {
  background-color: #23c6c8;
  color: #FFFFFF;
}

.label.label-primary {
  background-color: #1ab394;
  color: #FFFFFF;
}

.text-warning {
  color:#f0ad4e;
}
.text-danger{
  color:#ed5565;
}
.text-success{
  color: #1c84c6;
}
.text-info{
  color:#23c6c8;
}
.text-primary{
  color:#1ab394;
}
.ibox{
  clear: both;
  margin-bottom: 25px;
  margin-top: 0;
  padding: 0;
}
.ibox-title{
  background-color: #ffffff;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 2px 0 0;
  color: inherit;
  margin-bottom: 0;
  padding: 15px 15px 7px;
  min-height: 48px;
}
.ibox-content{
  background-color: #ffffff;
  color: inherit;
  padding: 15px 20px 10px 20px;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 1px 0;
}
.ibox-footer{
  background-color: #ffffff;
  color: inherit;
  padding:0 15px 5px;
}
table{
  width: 100%;
  border-collapse: collapse;
}
table td{
  max-width: 0;
  padding: 8px 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}
table th{
  text-align: left;
}
.el-input{
  width: auto;
  max-width:100%;
}
.el-input{
  width: auto;
  max-width:100%;
}
.text-center{
  text-align: center;
}

/*重置el-dropdown样式*/
.dropdowns{
  border:1px solid #dfdfdf;
  background-color: transparent;
  margin-right: 23px;
  width: 120px;
  height: 30px;
  padding: 0 10px;
  line-height: 30px;
  cursor: pointer;
  border-radius: 2px;
}
.dropdowns .el-dropdown-link{
  display: inline-block;
  width: 100%;
  height: 100%;
}
.dropdowns .el-dropdown-link .fa{
  position: relative;
  float: right;
  margin-top: 8px;
}
/*搜索输入框*/
.input-group{
  position: relative;
  height: 30px;
}
.input-group>input{
  display: inline-block;
  height: 100%;
  width: auto;
  padding: 0 5px;
  font-size: 14px;
  outline: none;
}
.input-group-button{
  position: relative;
  display: inline-block;
  width: 30px;
  height: 100%;
  background-color: #1ab394;
  color: #FFF;
  text-align: center;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-left: -4px;
  vertical-align: bottom;
  cursor: pointer;
}
.input-group-button .fa{
  vertical-align: sub;
}
/**/
.pull-right{
  float: right;
}
.pull-left{
  float: left;
}

.hide{
  display: none;
}
/*el-table样式修改*/
.el-pager li.active{
  border-color: #1ab394;
  background-color: #1ab394;
  color:#fff;
}
.table-name-column{
  cursor:pointer;
}
.table-name-column:hover{
  color:#1ab394;
}
.el-select{
  width: 270px;
}
.el-select-dropdown__item{
  text-overflow: ellipsis;
  word-wrap: break-word;
}
.el-select-dropdown__item.selected,.el-select-dropdown__item.selected.hover{
  background-color: #e4e8f1;
}
.el-tag{
  margin: 2px 5px;
  background-color: #FFF;
  border: 1px solid #ccc;
  color:#676A6C;
  border-radius: 0;
  cursor: pointer;
}
/*双向选择*/
.agents-box .agents-box-title{
  text-align: center;
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #e5e6e7;
  border-radius: 1px;
  margin-top: 2px;
  cursor: pointer;
}
.agents-box-content>ul{
  list-style: none;
  height: 120px;
  overflow-y: auto;
  border-color: #e5e6e7;
  border-width: 0 1px 1px 1px;
  border-style: solid;
  padding: 0;
}
.agents-box-content>ul li{
  padding: 5px 0;
  text-align: center;
  cursor: pointer;
  -moz-user-select: none; /* for Firefox */
   -webkit-user-select: none; /* for Chrome */
}
.agents-box-content>ul li:hover,.agents-box-content>ul li.selected{
  background-color: #e5e6e7;
}
.el-collapse{
  min-height: 40px;
}
.el-dialog__body{
  padding: 10px 25px;
  border-top: 1px solid #dfdfdf;
}
.el-dialog__header {
    padding: 10px 20px;
}
.el-loading-mask{
  background-color: transparent;
}
.el-switch.is-checked .el-switch__core {
    border-color: #1ab394;
    background-color: #1ab394;
}

/*查看详情*/
.checkDetail .el-select.datatype{
  width: 100px;
}
.checkDetail table th,.checkDetail table td{
  text-align: center;
}
.checkDetail table .el-input.comment{
  width: 85%;
  border:1px solid #dfdfdf;
  border-radius: 4px;
}
.checkDetail .life-select{
  width: 130px;
}
.el-dialog--small{
  min-width: 640px;
}
.pa-dialog-wrap .el-dialog{
  width: 550px;
}
.pa-dialog-wrap-b .el-dialog{
  min-width: 1200px;
}
.el-transfer{
  text-align: center;
}
.el-transfer-panel__body{
  text-align: left;
}
.mysql-collapse table th, .mysql-collapse table td{
  text-align: center;
}
.mysql-collapse .datatype{
  width: 115px;
}
.mysql-collapse .comment.el-input, .self-create-table .input.el-input{
  width: 88%;
  border:1px solid #dfdfdf;
  height: 25px;
  padding: 0 4px;
}

.mysql-collapse{
  height: 400px;
  overflow-y: auto;
}

.self-create-table .datatype{
  width: 120px;
}

.self-create-table .datatype2{
  width: 100px;
}

.self-create-table table th,.self-create-table table td{
  text-align: center;
}

.over-text{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.el-table .cell, .el-table th>div{
  padding-left: 5px;
  padding-right: 5px;
}
.el-table th .cell{
  padding-left: 10px;
}

/* 滚动条样式 */
#contentWrap ::-webkit-scrollbar {/*滚动条整体样式*/
  width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
  height: 4px;
}
#contentWrap ::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.2);
}
#contentWrap ::-webkit-scrollbar-track {/*滚动条里面轨道*/
  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0);
  border-radius: 0;
  background: rgba(0,0,0,0);
}
/* 重置样式 */
.el-message-box__message p {
  word-break: break-all;
}
